<template>
  <div>
    <div class="title hover-hand">
      <h2>独家放送</h2>
    </div>

    <div class="main">
      <div class="item" v-for="item in broadcastList" :key="item.id">
        <div class="cover hover-hand">
          <div class="circle hover-hand">
            <i class="iconfont hover-hand">&#xe661;</i>
          </div>
          <img :src="item.picUrl" alt="">
        </div>
        <div class="item-name yahei hover-hand">
           {{item.name}}
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name:'broadcast',
  props:{
    broadcastList:Array
  }
}
</script>

<style lang='less' scoped>
.title {
  margin-bottom: .083333rem;
}
.main {
  display: flex;
  justify-content: space-between;
  width: 100%;
  .item {
    width: 2.666667rem;
    height: 100%;
    .cover {
      position: relative;
      width: 100%;
      height: 1rem;
      overflow: hidden;
      .circle {
        position: absolute;
        top: .041667rem;
        left: .041667rem;
        width: .25rem;
        height: .25rem;
        border-radius: 50%;
        background: rgba(5, 5, 5, .3);
        i {
          position: absolute;
          top: .041667rem;
          left: .058333rem;
          color: white;
        }
      }
      img {
        width: 100%;
        height: 100%;
      }
    }
    .item-name {
      margin-top: .05rem;
      width: 100%;
      height: .333333rem;
    }
  }
}
</style>